<template>
  <div id="app">
    <!-- <van-button type="primary">主要按钮 </van-button>
<slot></slot>
    <van-button type="info">信息按钮</van-button>
    <van-button type="default">默认按钮</van-button>
    <van-button type="warning">警告按钮</van-button>
    <van-button type="danger">危险按钮</van-button>
    <button class="btn">123</button> -->
     <keep-alive>
      <router-view v-if="$route.meta.iskeepAlive"></router-view>
    </keep-alive>
    <router-view v-if="!$route.meta.iskeepAlive"></router-view>
  </div>
</template>
<script>
// import instance from '@/utils/request.js'
export default {
  // created () {
  //   this.instance.get('/').then((res) => {
  //     console.log(res)
  //   })
  // }
}
</script>
<style lang="scss">

</style>
